package nl.infodation.emr.pricingservice.controller;

import java.lang.reflect.Field;

import nl.infodation.emr.pricingservice.entity.DomainListSetting;

public class DomainSettingController extends
		AbstractBaseController<DomainListSetting, DomainListSetting, Integer> {

	@Override
	protected Boolean isObject(Field field) {
		if (field.getName().equals("user")) {
			return Boolean.TRUE;
		}
		return false;
	}

	@Override
	protected boolean getExcludeZeros() {
		return Boolean.TRUE;
	}
	
	@Override
	protected DomainListSetting buildCriteria(DomainListSetting search) {
		return search;
	}

}
